package com.ziyueyuwen.xiniao.bean.product;

import com.ziyueyuwen.xiniao.bean.ZyProductInfo;
import com.ziyueyuwen.xiniao.enums.CourseQuarterEnum;
import com.ziyueyuwen.xiniao.enums.GradeEnum;
import com.ziyueyuwen.xiniao.enums.ProductClassRuleEnum;
import com.ziyueyuwen.xiniao.enums.ProductPeriodEnum;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @author wancheng  on 2019/2/25.
 */
public class ProductStudentListVO extends ZyProductInfo{
    /**
     * 课程季度
     */
    private CourseQuarterEnum courseQuarter;
    /**
     * 开始日期
     */
    private Date beginDay;
    /**
     * 结束日期
     */
    private Date endDay;
    /**
     * 老师昵称
     */
    private String nickName;
    /**
     * 老师头像
     */
    private String avatar;
    /**
     * 商品剩余名额
     */
    private String countOfResidueProduct;
    /**
     * 季度
     */
    private String classRuleCh;

    private String courseQuarterCh;
    /**
     * 年级
     */
    private GradeEnum grade;
    /**
     * 年级中文
     */
    private String gradeCh;
    /**
     * 是否已购买
     */
    private Boolean ifHasPurchased;

    public CourseQuarterEnum getCourseQuarter() {
        return courseQuarter;
    }

    public void setCourseQuarter(CourseQuarterEnum courseQuarter) {
        this.courseQuarter = courseQuarter;
    }

    public Date getBeginDay() {
        return beginDay;
    }

    public void setBeginDay(Date beginDay) {
        this.beginDay = beginDay;
    }

    public Date getEndDay() {
        return endDay;
    }

    public void setEndDay(Date endDay) {
        this.endDay = endDay;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getCountOfResidueProduct() {
        return countOfResidueProduct;
    }

    public void setCountOfResidueProduct(String countOfResidueProduct) {
        this.countOfResidueProduct = countOfResidueProduct;
    }

    public String getClassRuleCh() {
        return classRuleCh;
    }

    public void setClassRuleCh(String classRuleCh) {
        this.classRuleCh = classRuleCh;
    }

    public String getCourseQuarterCh() {
        return courseQuarterCh;
    }

    public void setCourseQuarterCh(String courseQuarterCh) {
        this.courseQuarterCh = courseQuarterCh;
    }

    public GradeEnum getGrade() {
        return grade;
    }

    public void setGrade(GradeEnum grade) {
        this.grade = grade;
    }

    public String getGradeCh() {
        return gradeCh;
    }

    public void setGradeCh(String gradeCh) {
        this.gradeCh = gradeCh;
    }


    public Boolean getIfHasPurchased() {
        return ifHasPurchased;
    }

    public void setIfHasPurchased(Boolean ifHasPurchased) {
        this.ifHasPurchased = ifHasPurchased;
    }

    @Override
    public String toString() {
        return "ProductStudentListVO{" +
                "courseQuarter=" + courseQuarter +
                ", beginDay=" + beginDay +
                ", endDay=" + endDay +
                ", nickName='" + nickName + '\'' +
                ", avatar='" + avatar + '\'' +
                ", countOfResidueProduct='" + countOfResidueProduct + '\'' +
                ", classRuleCh='" + classRuleCh + '\'' +
                ", courseQuarterCh='" + courseQuarterCh + '\'' +
                ", grade=" + grade +
                ", gradeCh='" + gradeCh + '\'' +
                ", ifHasPurchased=" + ifHasPurchased +
                '}';
    }
}
